package com.wlz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * Description:
 *     启动类上添加@EnableTurbine来启用Turbine相关功能：
 *
 *     启动相关服务：
 *       这次我们需要启动如下服务：eureka-server、user-service、hystrix-service、hystrix-service（2） hystrix-dashboard  turbine-service
 * @author JourWon
 * @date 2019/12/20 17:06
 */
@EnableTurbine
@EnableDiscoveryClient
@SpringBootApplication
public class TurbineServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(TurbineServiceApplication.class, args);
    }

}
